<script setup>
import { inject } from 'vue'

const emit = defineEmits('search')
const emitSearch = emit('search')

const search_form = inject('search_form')
</script>

<template>
<div class="search-input">
  <el-input
    v-model="search_form.keyword"
    placeholder="Input keyword to search."
  ></el-input>
  <el-button @click="emitSearch">Search</el-button>
</div>
</template>

<style lang="scss" scoped>

</style>